#pragma once

#include <string>
#include <map>
#include <vector>
#include <list>
#include "Dictionary.h"

using namespace std;

class CRequest
{
public:
	CRequest(const string& line);
	~CRequest(void);
public:
	const map<char, int> GetKeys() const;
	bool GetCandidates(vector<list<CWord*>> &wordList, CDictionary *pDict);
private:
	string ParseLine(const string& line);
	int ToInt(const string &str);
private:
	map<char, int> m_keys;
	vector<int> m_lengths;
};

